package com.hongdee.insurance.car.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 名  称:TInsuranceCar
 * 类  型:class
 * 描  述:客户档案
 * 路  径:com.hongdee.insurance.car.entity
 * 作  者: 术洪超
 * 日  期:2017-04-25 10:08
 */
@Entity
@Table(name = "T_Insurance_Car")
public class TInsuranceCar extends BaseEntity {

    //被保险人
    @Column(name = "insured", length = 32, columnDefinition = " VARCHAR(32) COMMENT '被保险人' ")
    private String Insured;

    //被保险人身份证号
    @Column(name = "insured_ID_number", length = 32, columnDefinition = " VARCHAR(32) COMMENT '被保险人身份证号' ")
    private String InsuredIdNumber;

    //被保险人地址
    @Column(name = "insured_address", length = 500, columnDefinition = " VARCHAR(500) COMMENT '被保险人地址' ")
    private String InsuredAddress;

    //联系人
    @Column(name = "contact_name", length = 32, columnDefinition = " VARCHAR(32) COMMENT '联系人' ")
    private String contactName;

    //联系电话
    @Column(name = "contact_phone", length = 32, columnDefinition = " VARCHAR(32) COMMENT '联系电话' ")
    private String contactPhone;

    //邮箱
    @Column(name = "email", length = 32, columnDefinition = " VARCHAR(32) COMMENT '邮箱' ")
    private String email;

    //邮编
    @Column(name = "post_code", length = 32, columnDefinition = " VARCHAR(32) COMMENT '邮编' ")
    private String postCode;

    //车牌号
    @Column(name = "plate_num", length = 32, columnDefinition = " VARCHAR(32) COMMENT '车牌号' ")
    private String plateNum;

    //车龄
    @Column(name = "car_age", length = 32, columnDefinition = " VARCHAR(32) COMMENT '车龄' ")
    private String carAge;

    @Column(name = "car_brand", length = 32, columnDefinition = " VARCHAR(200) COMMENT '品牌' ")
    private String carBrand;

    @Column(name = "car_series", length = 32, columnDefinition = " VARCHAR(200) COMMENT '车系' ")
    private String carSeries;

    //车辆型号
    @Column(name = "car_model", length = 32, columnDefinition = " VARCHAR(200) COMMENT '车辆型号' ")
    private String carModel;

    @Column(name = "car_configure", length = 32, columnDefinition = " VARCHAR(200) COMMENT '配置' ")
    private String carConfigure;

    @Column(name = "car_level", length = 32, columnDefinition = " VARCHAR(32) COMMENT '配置' ")
    private String carLevel;

    @Transient
    private String carValue;

    //发动机号
    @Column(name = "engine_num", length = 32, columnDefinition = " VARCHAR(32) COMMENT '发动机号' ")
    private String engineNum;

    //机动车种类
    @Column(name = "car_type", length = 32, columnDefinition = " VARCHAR(32) COMMENT '机动车种类' ")
    private String carType;

    //使用性质
    @Column(name = "use_property", length = 32, columnDefinition = " VARCHAR(32) COMMENT '使用性质' ")
    private String useProperty;

    //初次登记日期
    @Column(name = "first_record_date", length = 32, columnDefinition = " VARCHAR(32) COMMENT '初次登记日期' ")
    private String firstRecordDate;

    //车架号
    @Column(name = "vin", length = 32, columnDefinition = " VARCHAR(32) COMMENT '车架号' ")
    private String vin;

    //排量/功率
    @Column(name = "power", length = 32, columnDefinition = " VARCHAR(32) COMMENT '排量/功率' ")
    private String power;

    //行驶证车主
    @Column(name = "driver_license", length = 32, columnDefinition = " VARCHAR(32) COMMENT '行驶证车主' ")
    private String driverLicense;

    //实际价值
    @Column(name = "real_value", length = 32, columnDefinition = " VARCHAR(32) COMMENT '实际价值' ")
    private String realValue;

    //核定载客/载重量
    @Column(name = "passenger_weight", length = 32, columnDefinition = " VARCHAR(32) COMMENT '核定载客/载重量' ")
    private String passengerWeight;

    //公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;
    //新车属性
    @Column(name = "car_property", length = 32, columnDefinition = "VARCHAR(32) COMMENT '新车属性'")
    private String carProperty;
    //销售属性
    @Column(name = "sales_property", length = 32, columnDefinition = "VARCHAR(32) COMMENT '销售属性'")
    private String salesProperty;

    @Column(name = "label",length = 32,columnDefinition = "VARCHAR(32) COMMENT '厂牌'")
    private String label;

    public String getSaler() {
        return saler;
    }

    public void setSaler(String saler) {
        this.saler = saler;
    }

    @Column(name = "saler",length = 50,columnDefinition = "VARCHAR(50) COMMENT '销售顾问'")
    private String saler;

    @Column(name = "source",length = 1,columnDefinition = "VARCHAR(1) COMMENT '来源 个人0 单位1'")
    private String source;

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getInsuranceCompany() {
        return insuranceCompany;
    }


    public void setInsuranceCompany(String insuranceCompany) {
        this.insuranceCompany = insuranceCompany;
    }

    public String getInsuranceEndDate() {
        return insuranceEndDate;
    }

    public void setInsuranceEndDate(String insuranceEndDate) {
        this.insuranceEndDate = insuranceEndDate;
    }

    //保險公司
    @Column(name = "insurance_company", length = 32, columnDefinition = "VARCHAR(32) COMMENT '保險公司'")
    private String insuranceCompany;

    //保險結束日期
    @Column(name = "insurance_end_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '保險結束日期'")
    private String insuranceEndDate;

    public String getCarProperty() {
        return carProperty;
    }

    public void setCarProperty(String carProperty) {
        this.carProperty = carProperty;
    }

    public String getSalesProperty() {
        return salesProperty;
    }

    public void setSalesProperty(String salesProperty) {
        this.salesProperty = salesProperty;
    }

    public String getCarAge() {
        return carAge;
    }

    public void setCarAge(String carAge) {
        this.carAge = carAge;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getInsured() {
        return Insured;
    }

    public void setInsured(String insured) {
        Insured = insured;
    }

    public String getInsuredIdNumber() {
        return InsuredIdNumber;
    }

    public void setInsuredIdNumber(String insuredIdNumber) {
        InsuredIdNumber = insuredIdNumber;
    }

    public String getInsuredAddress() {
        return InsuredAddress;
    }

    public void setInsuredAddress(String insuredAddress) {
        InsuredAddress = insuredAddress;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getEngineNum() {
        return engineNum;
    }

    public void setEngineNum(String engineNum) {
        this.engineNum = engineNum;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getUseProperty() {
        return useProperty;
    }

    public void setUseProperty(String useProperty) {
        this.useProperty = useProperty;
    }

    public String getFirstRecordDate() {
        return firstRecordDate;
    }

    public void setFirstRecordDate(String firstRecordDate) {
        this.firstRecordDate = firstRecordDate;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public String getDriverLicense() {
        return driverLicense;
    }

    public void setDriverLicense(String driverLicense) {
        this.driverLicense = driverLicense;
    }

    public String getRealValue() {
        return realValue;
    }

    public void setRealValue(String realValue) {
        this.realValue = realValue;
    }

    public String getPassengerWeight() {
        return passengerWeight;
    }

    public void setPassengerWeight(String passengerWeight) {
        this.passengerWeight = passengerWeight;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getCarBrand() {
        return carBrand;
    }

    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand;
    }

    public String getCarSeries() {
        return carSeries;
    }

    public void setCarSeries(String carSeries) {
        this.carSeries = carSeries;
    }

    public String getCarConfigure() {
        return carConfigure;
    }

    public void setCarConfigure(String carConfigure) {
        this.carConfigure = carConfigure;
    }

    public String getCarLevel() {
        return carLevel;
    }

    public void setCarLevel(String carLevel) {
        this.carLevel = carLevel;
    }

    public String getCarValue() {
        return carValue;
    }

    public void setCarValue(String carValue) {
        this.carValue = carValue;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}


